class CreateMoves < ActiveRecord::Migration
  def self.up
    create_table :moves do |t|
      t.column :board_id, :integer
      t.column :location, :string
      t.column :quadrant, :integer, :limit => 4
      t.column :direction, :integer, :limit => 2
    end
  end

  def self.down
    drop_table :moves
  end
end
